package com.logicalthinking.socialmall.entity;

import com.github.chenlijia1111.utils.core.annos.PropertyCheck;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.persistence.*;

/**
 * 订单补充参数
 * @author chenLiJia
 * @since 2020-02-19 16:12:17
 * @version 1.0
 **/
@ApiModel("订单补充参数")
@Table(name = "m_order_append")
public class OrderAppend {
    /**
     * 订单编号
     */
    @ApiModelProperty("订单编号")
    @PropertyCheck(name = "订单编号")
    @Id
    @Column(name = "order_no")
    private String orderNo;

    /**
     * 交易类型 1在线交易 2当面交易
     */
    @ApiModelProperty("交易类型 1在线交易 2当面交易")
    @PropertyCheck(name = "交易类型 1在线交易 2当面交易")
    @Column(name = "transaction_type")
    private Integer transactionType;

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public Integer getTransactionType() {
        return transactionType;
    }

    public void setTransactionType(Integer transactionType) {
        this.transactionType = transactionType;
    }
}